package com.gluck.cases.core.modal.resp;

import com.gluck.cases.core.modal.BaseEntity;
import com.gluck.cases.core.modal.entity.RolePermission;

import java.util.List;

/**
 * @ClassName RolePermissionResp
 * @Desc RolePermissionResp
 * @Author shiyongzhe
 * @Date 2022/5/22 - 3:59 下午
 **/
public class RolePermissionResp extends BaseEntity {

    List<RolePermission> permissionList;

    private int pageSize;
    /**
     * 当前页的数量
     */
    private int size;

    private int pages;

    public List<RolePermission> getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(List<RolePermission> permissionList) {
        this.permissionList = permissionList;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    @Override
    public String toString() {
        return "RolePermissionResp{" +
                "permissionList=" + permissionList +
                ", pageSize=" + pageSize +
                ", size=" + size +
                ", pages=" + pages +
                '}';
    }
}
